@tailwind base;
@tailwind components;
@tailwind utilities;

html {
  height: 100vh;
}

body {
  min-height: 100%;
}

.checkbox__input:checked + label::before {
  border-color: #0b76ef;
  background-color: #0b76ef;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

.checkbox__input + label {
  display: inline-flex;
  align-items: center;
  user-select: none;
}

.checkbox__input + label::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  flex-grow: 0;
  border: 1px solid #adb5bd;
  border-radius: 0.25em;
  margin-right: 0.5em;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50% 50%;
}

.select {
  appearance: none;
  background-color: transparent;
  border: none;
  padding: 20px 0;
  margin: 0;
  width: 100%;
  z-index: 1;
  cursor: pointer;
  outline: none;
  display: flex;
}

.select__div {
  display: flex;
  align-items: center;
  position: relative;
  border: 1px solid black;
  padding: 0 10px;
  border-radius: 6px;
}

.select__div::after,
.select__div::before {
  content: "";
  position: absolute;
  --size: 5px;
  right: 10px;
}

.select__div::before {
  border-left: var(--size) solid transparent;
  border-right: var(--size) solid transparent;
  border-bottom: var(--size) solid black;
  top: 40%;
}

.select__div::after {
  border-left: var(--size) solid transparent;
  border-right: var(--size) solid transparent;
  border-top: var(--size) solid black;
  top: 55%;
}